/*
 * @(#) AttachmentDao
 *
 * <br> Copyright:  Copyright (c) 2017
 * <br> @author caijinhuang
 * <br> 2017-12-18 15:57:49
 */

package com.sunsharing.sharemeeting.dao.api;

import org.apache.ibatis.annotations.Param;

import java.util.List;

import com.sunsharing.sharemeeting.entity.Attachment;

public interface AttachmentDao {
    /**
     * 获取附件列表
     * @param meetingId 会议Id
     * @return
     */
    List<Attachment> selectAttachmentByMeetingId(@Param("meetingId") String meetingId);

    int insertAttachments(List<Attachment> attachmentList);

    int deletFileById(@Param("fileId") String fileId);
}